//
//  Shop.h
//  iShop
//
//  Created by svp on 1/6/12.
//  Copyright 2012 __MyCompanyName__. All rights reserved.
//

#import <CoreData/CoreData.h>

@class Product;
@class Promotion;

@interface Shop :  NSManagedObject  
{
}

@property (nonatomic, retain) NSString * ShopID;
@property (nonatomic, retain) NSString * ShopName;
@property (nonatomic, retain) NSString * ShopAddress;
@property (nonatomic, retain) NSString * ShopImage;
@property (nonatomic, retain) NSNumber * ShopLongitude;
@property (nonatomic, retain) NSNumber * ShopLatitude;
@property (nonatomic, retain) NSString * ShopPhoneNumber;
@property (nonatomic, retain) NSSet* Products;
@property (nonatomic, retain) NSSet* Promotions;

@end


@interface Shop (CoreDataGeneratedAccessors)
- (void)addProductsObject:(Product *)value;
- (void)removeProductsObject:(Product *)value;
- (void)addProducts:(NSSet *)value;
- (void)removeProducts:(NSSet *)value;

- (void)addPromotionsObject:(Promotion *)value;
- (void)removePromotionsObject:(Promotion *)value;
- (void)addPromotions:(NSSet *)value;
- (void)removePromotions:(NSSet *)value;

@end

